package com.smedi.ismedi.inmail.core.domain.repository;

import com.smedi.ismedi.inmail.core.domain.aggregatemodel.Person;
import com.smedi.ismedi.inmail.core.domain.aggregatemodel.ProcessAttachment;
import com.smedi.ismedi.inmail.core.domain.aggregatemodel.weather.WeatherHourly;
import com.smedi.ismedi.inmail.core.domain.dto.PersonQuery;
import com.smedi.ismedi.inmail.core.domain.dto.ProcessAttachmentQuery;
import lombok.NonNull;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 地区仓库
 *
 * @author jiangqinxuan
 * @date 2021/07/27
 */
public interface ProcessAttachmentRepository {

    /**
     * 流程附件 获取 单一
     *
     * @param processAttachmentQuery 通知公告查询
     * @return Person
     */
    ProcessAttachment getProcessAttachmentOne(ProcessAttachmentQuery processAttachmentQuery);

    /**
     * 流程附件 获取 列表
     *
     * @param processAttachmentQuery 通知公告查询
     * @return Person
     */
    List<ProcessAttachment> getProcessAttachmentList(ProcessAttachmentQuery processAttachmentQuery);
}
